<?php
namespace app\common\controller;

use org\Auth;
use think\Loader;
use think\Controller;
use think\Cookie;
use think\Db;
use think\Session;

/**
 * 前台公用基础控制器
 * Class IndexBase
 * @package app\common\controller
 */
class IndexBase extends Controller
{
    protected function _initialize()
    {
        parent::_initialize();

        // 输出当前请求控制器（配合后台侧边菜单选中状态）
        $this->assign('controller', Loader::parseName($this->request->controller()));
    }




}